/**
  ******************************************************************************
  * File Name          : motor.h
  * Description        : 电机控制代码的对外接口，比如设置速度等
  ******************************************************************************
  */
#ifndef __MATLAB_MOTION_H__
#define __MATLAB_MOTION_H__

/* Function Definitions */

#define RT_PI                          3.14159265358979323846
#define RT_PIF                         3.1415927F
#define RT_LN_10                       2.30258509299404568402
#define RT_LN_10F                      2.3025851F
#define RT_LOG10E                      0.43429448190325182765
#define RT_LOG10EF                     0.43429449F
#define RT_E                           2.7182818284590452354
#define RT_EF                          2.7182817F
typedef float real32_T;

/* Function Declarations */
static float matlab_rt_atan2f_snf(float u0, float u1);
void matlab_motion_solve(float xA, float yA, float res[4]);

#endif /*__MATLAB_MOTION_H__ */
